package com.banmajio.pojo;


import com.banmajio.config.CopyField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 志愿者轨迹表
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class VolunteerTrajectory implements Serializable {

    /**
     * id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @CopyField(name = "id")
    private Long id;

    /**
     * 用户id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @CopyField(name = "user_id")
    private Long userId;

    /**
     * 编码
     */
    @CopyField(name = "code")
    private String code;

    /**
     * 描述
     */
    @CopyField(name = "description")
    private String description;

    /**
     * 详情
     */
    @CopyField(name = "detail")
    private String detail;

    /**
     * 创建时间
     */
    @CopyField(name = "create_time", format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}

